package cn.kgc.service;

import cn.kgc.entity.RoleInfo;
import com.github.pagehelper.Page;

import java.util.List;

public interface RoleService {
    public Page<List<RoleInfo>> getRole(Integer pageNo, Integer pageSize, String name);

    public void addRole(RoleInfo roleInfo);

    public RoleInfo getRoleById(Integer id);

    public void updateRole(RoleInfo roleInfo);

    public void deleteRole(String ids);

    public  List<RoleInfo> getRoleById2();


}
